<!DOCTYPE html>
<html>
<head>
	{include file="common_header" /}
	{include file="common_top" /}
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-col-md12">
        <div class="layui-card">
          <div class="layui-card-body">
            <table class="layui-table" lay-even="" lay-skin="nob">
            <thead>
              <tr>
                <th>#序号</th>
				<th>状态</th>
				<th>上级</th>
				<th>群组</th>
				<th>手机号</th>
				<th>积分</th>
				<th>余额</th>
				<th>佣金余额</th>
				<!--<th>分站余额</th>-->
				<th>登录次数</th>
				<th>发件人</th>
				<th>发件电话</th>
				<th>上次登录时间</th>
                <th>注册时间</th>
                <th>推广码</th>
				<th>管理</th>
              </tr> 
            </thead>
            <tbody>
             {volist name="users" id="vo"}
				<tr id="tr_{$vo.u_id}">
					<td>{$vo.u_id}</td>
					<td class="text-center">{if $vo.u_status==1}<span class="layui-badge-dot layui-bg-green"></span>{else}<span class="layui-badge-dot"></span>{/if}</td>
					<td class="text-center">{if $vo.su_id!=0}{$vo.su_phone}{/if}</td>
					<td>{$vo.ug_title}</td>
					<td>{$vo.u_phone}</td>
					<td>{$vo.u_credit}</td>
					<td>{$vo.u_balance}</td>
					<td>{$vo.u_commission}</td>
					<!--<td>{$vo.u_substation}</td>-->
					<td>{$vo.u_count}</td>
					<td>{$vo.u_send_name}</td>
					<td>{$vo.u_send_phone}</td>
					<td>{$vo.u_last_time}</td>
					<td>{$vo.u_addtime}</td>
					<td>{$vo.u_promo}</td>
					<td>
							<div class="layui-btn-group">
								<button class="layui-btn layui-btn-sm" onClick="calldel('{:url('users/del',array('id'=>$vo.u_id))}','tr_{$vo.u_id}')"><i class="layui-icon">&#xe640;</i></button>
								<button class="layui-btn layui-btn-sm" onClick="callurl('{:url('users/edit',array('id'=>$vo.u_id))}')"><i class="layui-icon">&#xe642;</i></button>
							</div>
					</td>
				</tr>
			{/volist}
            </tbody>
          </table> 
          </div>
        </div>
      </div>
    </div>
  </div>
  {include file="common_footer" /} 
</body>
</html>